package com.tal.pad.eye_protection;
/**
 * @anthor Mr.Zan
 * @email  644962006@qq.com
 * @time 2025/3/26 17:04
 * @describe  坐姿检测分类
 */
public class PoseDetCls {
    static {
        System.loadLibrary("poseDetCls");
    }

    /**
     * @param poseClsPath 坐姿检测分类模型路径
     * @param deviceType 运行backend deviceType: 0: CPU 1: GPU 2: APU
     * @return 模型指针，初始化失败返回0
     */
    //初始化 1. 模型路径 2.运行backend deviceType: 0: CPU 1: GPU 2: APU
    //返回模型指针，初始化失败返回0
    public static native long init(String poseClsPath, int deviceType);
    
    //释放
    public static native int release(long poseClsPtr);
    
}
